package com.study.vo;

import com.study.entity.ImgResource;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 查询订单列表返回值
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderVO {
    //订单id
    private Long id;

    //订单编号
    private String number;

    //订单状态
    private Integer status;

    //活动id
    private Long activityId;

    //活动名称
    private String activityName;

    //支付状态
    private Integer payStatus;

    //订单金额
    private BigDecimal amount;

    //订单图片
    private ImgResource image;

    //是否评价
    private Integer isComment;

    //下单时间
    private LocalDateTime orderTime;
}
